<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl.'/js/login.js',  CClientScript::POS_END); ?>
<div class="user-login">
    <img src="<?php echo Yii::app()->baseUrl . $school->icon;?>">
        <fieldset>
            <legend>登入</legend>
            <div class="control-group">
                <label class="control-label" for="login-username">您的姓名</label>
                <div class="controls">
                    <input id="login-username" type="text" class="input-xlarge">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="login-password">您的密码</label>
                <div class="controls">
                    <input id="login-password" type="password" class="input-xlarge">
                    <p id="login-help" class="help-block"></p>
                </div>
            </div>
            <div class="control-group">
                <label class="checkbox">
                    <input id="login-remember" type="checkbox"> 记住我
                </label>
            </div>
            <div class="control-group">
                <button id="loginBtn" type="submit" class="btn">登录</button>
                <a href="<?php echo Yii::app()->createUrl('/site/account'); ?>">注册一个新账号</a>
            </div>
        </fieldset>
</div>